package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.pojo.Car;
import com.qf.vo.CarList;

import java.util.List;

public interface CarService {

    PageInfo<Car> findAll(int page);

    CarList findAllBy(int cid);

   Car findOneCar(int cid);

    Car add (Car car);

    int update (Car car);

    int delete (int id);
}
